<template>
	<view class="me-cell">
		<u-cell-group :border="false">
			<u-cell-item :border-bottom="false" :title="item.title" @click="navTo(`/pages/public/webView?type=${item.id}&title=${item.title}`)" v-for="item in dataList" :key="item.id"></u-cell-item>
		</u-cell-group>
	</view>
</template>
<script>
export default {
	data() {
		return {
			dataList: []
		};
	},
	onLoad() {
		this.loadData();
	},
	methods: {
		async loadData() {
			const res = await this.$request('content/agreement', {}, { showLoading: true });
			if (res.result == 0) {
				this.dataList =res.data.list;
			} else {
				this.$util.msg(res.resultNote);
			}
		}
	}
};
</script>

<style></style>
